import os
import numpy
import cv2

img = cv2.imread("1.jpg")
img[:,:,2] = 0
cv2.imwrite ( "3.png", img )

print ( img.shape )
print ( img.size )
print ( img.dtype )
